<div class="modal-header">
   <button type="button" class="close" data-dismiss="modal">x</button>
      <h3 class="text-center">请登录系统</h3>
</div>
<div class="modal-body">
 <div class="login-main">
    <form class="form-horizontal js-ajax-form" action="{:U('user/login/dologin')}" method="post">
        <label class="control-label" for="login_username">帐号</label>
        <div class="controls">
          <input class="form-control input-lg span4" id="login_username" type="text" name="username" value="" required placeholder='邮箱/手机/用户名' />
          <div class="help-block"></div>
        </div>
        <label class="control-label" for="login_password">密码</label>
        <div class="controls" style="margin-bottom:10px;">
          <input class="form-control input-lg span4" id="login_password" type="password" name="password" required placeholder='密码'/>
        </div>
        <label class="control-label" for="login_verify">验证码</label>
        <div class="controls">
          <input class="form-control input-lg " type="text" id="input_verify" name="verify"  placeholder="验证码" style="width:230px;float:left;margin-right:10px;">
		{:sp_verifycode_img('length=4&font_size=14&width=100&height=34&charset=2345678&use_noise=1&use_curve=0')}
        </div>
        <button type="submit" class="btn btn-primary btn-lg btn-block js-ajax-submit" style="margin-left: 0px;margin-top:30px;margin-bottom:10px;">登录</button>
        <input type="hidden" name="_target_path" value="/course/282">
        <input type="hidden" name="_csrf_token" value="2837cbb82c215e0ec14904f202012023f048a9bc">
    </form>

    <div class="mbl">
      <a href="{:u('User/Register/index')}">找回密码</a>
      <span class="text-muted mhs">|</span>
      <span class="text-muted">还没有注册帐号？</span>
      <a href="{:u('User/Register/index')}">立即注册</a>
    </div>
    
   </div>
</div>